<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>风险评价 - 推送设置 - 系统设置</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/js/plugin/datetimepicker/jquery.datetimepicker.min.css"></head>
<body>
    <!-- init data start -->
    <!-- 风险等级 -->
    <div id="JQ_data_risk_grde" class="hidden">${riskGradeList}</div>
    <!-- 高后果区 -->
    <div id="JQ_data_area_level" class="hidden">${areaLevelList}</div>
    <!-- 角色列表 -->
    <div id="JQ_data_role_list" class="hidden">${roleList}</div>
    <!-- 角色对应 -->
    <div id="JQ_data_role_map" class="hidden">${roleMap}</div>
    <!-- init data end -->

    <!-- big container -->
    <div class="main-inner">
        <div class="content-inner">
            <div class="meta-head">
                <h3><i class="zy-fengxiantuisong-icon"></i>风险推送设置</h3>
            </div>
            <div class="zy-form-line zy-circle-bg">
                <div class="zy-input-title">当系统风险等级=</div>
                <div class="zy-sp1"></div>
                <div class="zy-select-inner w-15">
                    <blockquote id="JQ_risk_grde_01" class="bk-select"></blockquote>
                </div>
                <div class="zy-sp1"></div>
                <div class="zy-input-title">以及处于高后果区≥</div>
                <div class="zy-sp1"></div>
                <div class="zy-select-inner w-15">
                    <blockquote id="JQ_area_level_01" class="bk-select"></blockquote>
                </div>
                <div class="zy-sp1"></div>
                <div class="zy-input-title">提醒重点关注</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_01" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg">
                <div class="zy-input-title">当系统风险等级=</div>
                <div class="zy-sp1"></div>
                <div class="zy-select-inner w-15">
                    <blockquote id="JQ_risk_grde_02" class="bk-select"></blockquote>
                </div>
                <div class="zy-sp1"></div>
                <div class="zy-input-title">以及处于高后果区≥</div>
                <div class="zy-sp1"></div>
                <div class="zy-select-inner w-15">
                    <blockquote id="JQ_area_level_02" class="bk-select"></blockquote>
                </div>
                <div class="zy-sp1"></div>
                <div class="zy-input-title">提醒重点关注</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_02" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg">
                <div class="zy-input-title">当系统风险等级=</div>
                <div class="zy-sp1"></div>
                <div class="zy-select-inner w-15">
                    <blockquote id="JQ_risk_grde_03" class="bk-select"></blockquote>
                </div>
                <div class="zy-sp1"></div>
                <div class="zy-input-title">以及处于高后果区≥</div>
                <div class="zy-sp1"></div>
                <div class="zy-select-inner w-15">
                    <blockquote id="JQ_area_level_03" class="bk-select"></blockquote>
                </div>
                <div class="zy-sp1"></div>
                <div class="zy-input-title">提醒重点关注</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_03" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="meta-head">
                <h3><i class="zy-fengxianpingjia-icon"></i>风险评价周期设置</h3>
            </div>
            <!-- org line -->
            <div id="JQ_org_line" class="hidden">
                <figure>
                    <div class="zy-form-line zy-circle-bg">
                        <div class="zy-input-title">管道名称</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-15">
                            <blockquote class="bk-select org-pipe"><abbr></abbr></blockquote>
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">管段名称</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-15">
                            <blockquote class="bk-select org-segment"></blockquote>
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">起点位置</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-15">
                            <blockquote class="bk-select org-begin"></blockquote>
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">终点位置</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-15">
                            <blockquote class="bk-select org-end"></blockquote>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="zy-form-line zy-circle-bg1">
                        <div class="zy-input-title">初次评价时间</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-inner w-13">
                            <input type="text" class="zy-i-input zy-i-input-date-0" placeholder="年-月" autocomplete="off">
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">风险评价间隔周期</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-13">
                            <blockquote class="bk-select org-cycle"><abbr></abbr></blockquote>
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">提前通知评价天数</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-inner w-13">
                            <input type="text" class="zy-i-input org-advance" placeholder="天" autocomplete="off">
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="zy-form-line zy-circle-bg1">
                        <div class="zy-input-title">提醒开展管道风险评价工作</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-checkbox-inner zy-chkbox-must w-27 org-check">
                            <div class="zy-checkbox-body">
                                <div class="zy-checkbox-content"></div>
                            </div>
                            <div class="zy-checkbox-btn-a">+</div>
                            <div class="zy-checkbox-btn-b">-</div>
                            <div class="zy-checkbox-list">
                                <ul class="zy-checkbox-ul"></ul>
                            </div>
                        </div>
                        <div class="zy-sp1"></div>
                        <div style="padding: 5px 10px;">
                            <button type="button" class="zy-button-s zy-create-s"><i class="zy-create-icon"></i>添加</button>&nbsp;&nbsp;
                            <button type="button" class="zy-button-s zy-delete-s"><i class="zy-delete-icon"></i>删除</button>
                        </div>
                        <div class="clear"></div>
                    </div>
                </figure>
            </div>
            <!-- son line -->
            <div id="JQ_son_line">
                <figure>
                    <div class="zy-form-line zy-circle-bg">
                        <div class="zy-input-title">管道名称</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-15">
                            <blockquote id="JQ_pipeline" class="bk-select"><abbr></abbr></blockquote>
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">管段名称</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-15">
                            <blockquote id="JQ_segment" class="bk-select"></blockquote>
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">起点位置</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-15">
                            <blockquote id="JQ_begin" class="bk-select"></blockquote>
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">终点位置</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-15">
                            <blockquote id="JQ_end" class="bk-select"></blockquote>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="zy-form-line zy-circle-bg1">
                        <div class="zy-input-title">初次评价时间</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-inner w-13">
                            <input id="JQ_date" type="text" class="zy-i-input zy-i-input-date-0" placeholder="年-月" autocomplete="off">
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">风险评价间隔周期</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-select-inner w-13">
                            <blockquote id="JQ_cycle" class="bk-select"><abbr></abbr></blockquote>
                        </div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-title">提前通知评价天数</div>
                        <div class="zy-sp1"></div>
                        <div class="zy-input-inner w-13">
                            <input id="JQ_advance" type="text" class="zy-i-input" placeholder="天" autocomplete="off">
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="zy-form-line zy-circle-bg1">
                        <div class="zy-input-title">提醒开展管道风险评价工作</div>
                        <div class="zy-sp1"></div>
                        <div id="JQ_checkbox_list_04" class="zy-checkbox-inner zy-chkbox-must w-27">
                            <div class="zy-checkbox-body">
                                <div class="zy-checkbox-content"></div>
                            </div>
                            <div class="zy-checkbox-btn-a">+</div>
                            <div class="zy-checkbox-btn-b">-</div>
                            <div class="zy-checkbox-list">
                                <ul class="zy-checkbox-ul"></ul>
                            </div>
                        </div>
                        <div class="zy-sp1"></div>
                        <div style="padding: 5px 10px;">
                            <button type="button" class="zy-button-s zy-create-s" id="JQ_create_cycle"><i class="zy-create-icon"></i>添加</button>
                        </div>
                        <div class="clear"></div>
                    </div>
                </figure>
            </div>
            <!-- mulit line -->
            <div id="JQ_mulit_line"></div>
            <!-- <hr> -->
            <div class="zy-form-line zy-circle-bg">
                <div class="zy-input-title">当腐蚀是主要威胁因素时，系统推送相应管段信息，提示用户开展以下工作：</div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg1">
                <div class="zy-input-title">若管段存在需要立即修复的管体缺陷，提醒开展缺陷修复工作</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_05" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg1">
                <div class="zy-input-title">若管段存在内腐蚀占总缺陷百分比≥</div>
                <div class="zy-sp1"></div>
                <div class="zy-input-inner w-10">
                    <input id="JQ_percent" type="text" class="zy-i-input w-80" autocomplete="off">
                    <label class="zy-i-label w-20">%</label>
                </div>
                <div class="zy-sp1"></div>
                <div class="zy-input-title">提醒加强相应管段的清管工作</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_06" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg1">
                <div class="zy-input-title">若管段存在</div>
                <div class="zy-sp1"></div>
                <div class="zy-input-group" style="width: 8%">
                    <div class="zy-checkbox-group">
                        <label>
                            <i id="JQ_too_protect" class="zy-checkbox" style="margin-bottom: -2px;"></i> 过保护
                        </label>
                    </div>
                </div>
                <div class="zy-input-group" style="width: 8%">
                    <div class="zy-checkbox-group">
                        <label>
                            <i id="JQ_loss_protect" class="zy-checkbox" style="margin-bottom: -2px;"></i> 欠保护
                        </label>
                    </div>
                </div>
                <div class="zy-input-title">提醒开展相应管段的阴极保护有效性评价及阴保整改工作</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_11" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg1">
                <div class="zy-input-title">若管段存在</div>
                <div class="zy-sp1"></div>
                <div class="zy-input-group" style="width: 8%">
                    <div class="zy-checkbox-group">
                        <label>
                            <i id="JQ_ac_disturb" class="zy-checkbox" style="margin-bottom: -2px;"></i> 交流干扰
                        </label>
                    </div>
                </div>
                <div class="zy-input-group" style="width: 8%">
                    <div class="zy-checkbox-group">
                        <label>
                            <i id="JQ_dc_disturb" class="zy-checkbox" style="margin-bottom: -2px;"></i> 直流干扰
                        </label>
                    </div>
                </div>
                <div class="zy-input-group" style="width: 14%">
                    <div class="zy-checkbox-group">
                        <label>
                            <i id="JQ_acdc_disturb" class="zy-checkbox" style="margin-bottom: -2px;"></i> 交流直流共同干扰
                        </label>
                    </div>
                </div>
                <div class="zy-input-title">提醒开展杂散电流排流治理工作</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_12" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg">
                <div class="zy-input-title">当误操作为主要威胁因素时，系统推送相应管段信息及里程信息，提醒加强员工作业标准化和培训工作</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_07" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg">
                <div class="zy-input-title">当制造与施工为主要威胁因素时，系统推送相应管段信息，提醒开展换管和缺陷修复工作</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_08" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg">
                <div class="zy-input-title">当地质灾害为主要威胁因素时，系统推送相应管段信息，提醒开展地质灾害治理工作</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_09" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg">
                <div class="zy-input-title">当第三方破坏为主要威胁因素时，系统推送相应管段信息，提醒开展相应工作</div>
                <div class="zy-sp1"></div>
                <div id="JQ_checkbox_list_10" class="zy-checkbox-inner zy-chkbox-must w-27">
                    <div class="zy-checkbox-body">
                        <div class="zy-checkbox-content"></div>
                    </div>
                    <div class="zy-checkbox-btn-a">+</div>
                    <div class="zy-checkbox-btn-b">-</div>
                    <div class="zy-checkbox-list">
                        <ul class="zy-checkbox-ul"></ul>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line zy-circle-bg1">
                <div class="zy-input-group c-78">
                    (1.加强相应管段的巡线频次&nbsp;&nbsp;&nbsp;&nbsp;2.若三桩存在损坏或丢失，提示用户开展三桩维护工作&nbsp;&nbsp;&nbsp;&nbsp;3.加强相应管段的管道保护宣传工作)
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line t-r">
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <button id="JQ_save_settings" class="zy-button zy-set-save" type="button" data-status="true"><i class="zy-setsave-icon"></i>保存</button>&nbsp;&nbsp;&nbsp;&nbsp;
                <button id="JQ_save_defaults" class="zy-button zy-set-cancel" type="button" data-status="true"><i class="zy-setcancel-icon"></i>恢复默认设置</button>
                <div class="clear"></div>
            </div>
        </div>
    </div>

    <!-- plugin -->
    <script src="${pageContext.request.contextPath}/static/js/lib/json2.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/plugin/datetimepicker/jquery.datetimepicker.full.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/plugin/myplugin/dropCheckbox.plugin.js"></script>
    <!-- ui -->
    <script src="${pageContext.request.contextPath}/static/js/ui/ui-main.js"></script>
    <!-- base -->
    <script src="${pageContext.request.contextPath}/static/js/controller/base/base.controller.js"></script>
    <!-- api -->
    <script src="${pageContext.request.contextPath}/static/js/controller/api/setting.api.js"></script>
    <!-- controller -->
    <script src="${pageContext.request.contextPath}/static/js/controller/system/threshold/riskSet.controller.js"></script>
</body>
</html>
